﻿
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading;
using wt.wine.Domain.Entities;
using wt.wine.Application.ManageUserTable;

namespace wt.wine.Application.Common.Interfaces
{
    /// <summary>
    /// 绑定设备
    /// </summary>
    public interface IUserdevicetableRepository
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="userid"></param>
        /// <param name="adduserid"></param>
        /// <param name="list_deviceid"></param>
        /// <param name="cancellationtoken"></param>
        /// <returns></returns>
        Task EditUserDevices(int userid, int adduserid, List<devicetable> list_deviceid, CancellationToken cancellationtoken);

        Task<List<GetUserTableDeviceList>> GetUserTableDeviceList(List<int> list_userid, CancellationToken cancellationtoken);
    }
}
